package cron.admin.model.vo;

import cron.admin.model.vo.enums.TaskStatusEnum;
import cron.core.ResourceType;
import cron.core.scheduler.trigger.TriggerType;

/**
 * @author : willian fu
 * @version : 1.0
 * @date : 2021/3/22 0022 16:32
 */

public class TaskInstanceVo {

    private String taskId;

    private String name;

    private String remark;

    private TaskStatusEnum status;

    private TriggerType type;

    private ResourceType resourceType;

    public TaskInstanceVo() {
    }

    public TaskInstanceVo(String taskId, String name, String remark, TaskStatusEnum status,
                          TriggerType type, ResourceType resourceType) {
        this.taskId = taskId;
        this.name = name;
        this.remark = remark;
        this.status = status;
        this.type = type;
        this.resourceType = resourceType;
    }

    public String getTaskId() {
        return taskId;
    }

    public void setTaskId(String taskId) {
        this.taskId = taskId;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }

    public TaskStatusEnum getStatus() {
        return status;
    }

    public void setStatus(TaskStatusEnum status) {
        this.status = status;
    }

    public TriggerType getType() {
        return type;
    }

    public void setType(TriggerType type) {
        this.type = type;
    }

    public ResourceType getResourceType() {
        return resourceType;
    }

    public void setResourceType(ResourceType resourceType) {
        this.resourceType = resourceType;
    }
}
